package com.spic.business.preset_point.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 摄像头资源预置点位置信息对象 presets_position
 *
 * @author spic
 * @date 2022-03-25
 */
public class PresetsPosition extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 预置点名称 */
    @Excel(name = "预置点名称")
    private String presetPointName;

    /** 预置点id */
    @Excel(name = "预置点id")
    private String presetPointindex;

    /** 资源id */
    @Excel(name = "资源id")
    private String cameraindexCode;

    /** 资源名字 */
    @Excel(name = "资源名字")
    private String cameraName;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    protected String createBy;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    protected Date createTime;
    /** 更新者 */
    protected String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    protected Date updateTime;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPresetPointName(String presetPointName)
    {
        this.presetPointName = presetPointName;
    }

    public String getPresetPointName()
    {
        return presetPointName;
    }
    public void setPresetPointindex(String presetPointindex)
    {
        this.presetPointindex = presetPointindex;
    }

    public String getPresetPointindex()
    {
        return presetPointindex;
    }
    public void setCameraindexCode(String cameraindexCode)
    {
        this.cameraindexCode = cameraindexCode;
    }

    public String getCameraindexCode()
    {
        return cameraindexCode;
    }
    public void setCameraName(String cameraName)
    {
        this.cameraName = cameraName;
    }

    public String getCameraName()
    {
        return cameraName;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }


    public String getCreateBy()
    {
        return createBy;
    }

    public void setCreateBy(String createBy)
    {
        this.createBy = createBy;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateBy()
    {
        return updateBy;
    }

    public void setUpdateBy(String updateBy)
    {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("presetPointName", getPresetPointName())
            .append("presetPointindex", getPresetPointindex())
            .append("cameraindexCode", getCameraindexCode())
            .append("cameraName", getCameraName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
